﻿using System;
using System . Collections . Generic;
using System . Linq;
using System . Text;

namespace WenceyWang . RichMan4L
{

    [AttributeUsage ( AttributeTargets . Property )]
    sealed public class SaveAttribute : Attribute
    {
        public SaveKind Kind { get; private set; }

        public SaveAttribute ( SaveKind kind )
        {
            Kind = kind;
        }

    }

    public enum SaveKind
    {
        Value,
        Reference,
        ValueList,
        ReferenceList,
        ValueValueDictionary,
        ValueReferenceDictionary,
    }
}
